<template>
  <div class="car">
    <div class="pic">
      <slot name="pic"></slot>
    </div>
    <div class="text">
        <slot name="title"></slot>
        <slot name="p1"></slot>
        <slot name="p2"></slot>
        <slot name="p3"></slot>
        <slot name="link"></slot>
      <div>
        <slot name="btn1"></slot>
        <slot name="btn2"></slot>
        <slot name="p4"></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    name:"CompCar"
};
</script>
<style lang="scss" scoped>
.car{
    margin: 50px 40px;
}
.pic {
    margin-bottom: 15px;
  img {
    width: 360px;
  }
}
.text {
  h4 {
    font-size: 22px;
    color: #636363;
    margin-bottom: 20px;
  }
  p {
    color: #636363;
    margin-bottom: 5px;
  }
  a {
    display: block;
    color: #636363;
    margin: 20px 0;
  }
  button {
    cursor: pointer;
    background-color: #f3f3f3;
    border: 1px solid #000;
    padding: 15px 50px;
    border-radius: 5px;
    margin-right: 20px;
  }
  .small-p {
    margin-left: 90px;
    margin-top: 20px;
    font-size: 14px;
  }
}
</style>